WARNING: This program has a bug, which means we need to fix it! Let's find the syntax error!

RULE: If statements outside click events won't run if the sprite is clicked. They need to be indented to inside the event.

  • Click Run to see the current program. Try clicking on the UFO.
  • Indent the if statement to help the UFO land!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)